<?php

	$sql = "select * from ".SETMEAL." where statu = 1 group by performance_start_time";
	$db->query($sql);
	$list = $db->getRows();
	$tpl->assign('list',$list);
	//----------------------------SEO
	$config['title']=str_replace('[catname]',$cat['cat'],$config['title2']);
	$config['keyword']=str_replace('[catname]',$cat['cat'],$config['keyword2']);
	$config['description']=str_replace('[catname]',$cat['cat'],$config['description2']);
	//=====================================================
	$current=$cat['current']?$cat['current']:"calendar";
	$tpl->assign("current",$current);
    $tpl->assign("cat",$cat);
	$tpl->assign("orderby",$orderby);
	include_once("footer.php");
	$out=tplfetch("product_calendar.htm");
?>